package com.example.service;

import com.example.domain.dto.DiseaseDTO;
import com.example.domain.po.Disease;
import com.example.domain.vo.DiseaseVo;
import com.example.util.PageBean;

import java.util.List;
import java.util.Map;

public interface DiseaseService {

    List<Disease> list();

    List<Disease> listAll();

    List<Map<String, Object>> listByName(String name);

    List<DiseaseVo> getById(Integer id);

    Integer addDisease(DiseaseDTO diseaseDTO);

    void addItem(String s, String info, Integer id);

    PageBean<DiseaseVo> list(Integer pageNum, Integer pageSize, String name,String category);

    List<DiseaseVo> findById(Integer id);


}
